  function ckhInterestPending()
  {
  	var loanId = $("#loanNoTxt").val();
  	var currantDate = $("#curYear").val()+"-"+$("#curMonth").val()+"-"+$("#curDay").val();
  	var datastring = "currantDate="+currantDate+"&loanNo="+loanId;
    $.ajax({
     url:'ckhInterestPendingAjax.php',
     dataType:'HTML',
     data: datastring,
     type:'GET',
     success:function(msg)
     {
       if(msg == 0)
       {
       	 if(confirm("interest is panding. are you sure to take paymant??"))
       	 {
       	 	 $("form").submit();
         }
       }
       else
       {
         $("form").submit();
       }
     }
    });
  }
